﻿Imports System.Data.SqlClient
Imports System.Configuration

Public Class Conexion



    Public Function abrir() As SqlConnection

        Dim SQLConnectionString As String
        Dim conn As SqlConnection

        SQLConnectionString = ConfigurationManager.ConnectionStrings("Tehuel").ConnectionString


        conn = New SqlConnection(SQLConnectionString)
        conn.Open()

        Return conn

    End Function


End Class
